package gdut.jmxywz.been;

import java.util.HashSet;
import java.util.Set;

/**
 * Major entity. @author MyEclipse Persistence Tools
 */

public class Major implements java.io.Serializable {

	// Fields

	private Integer majorId;
	private String majorName;
	private String majorDescript;
	private String majorMaster;
	private Set stclasses = new HashSet(0);

	// Constructors

	/** default constructor */
	public Major() {
	}

	/** minimal constructor */
	public Major(String majorName, String majorDescript, String majorMaster) {
		this.majorName = majorName;
		this.majorDescript = majorDescript;
		this.majorMaster = majorMaster;
	}

	/** full constructor */
	public Major(String majorName, String majorDescript, String majorMaster,
			Set stclasses) {
		this.majorName = majorName;
		this.majorDescript = majorDescript;
		this.majorMaster = majorMaster;
		this.stclasses = stclasses;
	}

	// Property accessors

	public Integer getMajorId() {
		return this.majorId;
	}

	public void setMajorId(Integer majorId) {
		this.majorId = majorId;
	}

	public String getMajorName() {
		return this.majorName;
	}

	public void setMajorName(String majorName) {
		this.majorName = majorName;
	}

	public String getMajorDescript() {
		return this.majorDescript;
	}

	public void setMajorDescript(String majorDescript) {
		this.majorDescript = majorDescript;
	}

	public String getMajorMaster() {
		return this.majorMaster;
	}

	public void setMajorMaster(String majorMaster) {
		this.majorMaster = majorMaster;
	}

	public Set getStclasses() {
		return this.stclasses;
	}

	public void setStclasses(Set stclasses) {
		this.stclasses = stclasses;
	}

}